<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<base href="<%=basePath%>"/>
<link rel="stylesheet" type="text/css" href="css/login.css" />
<link rel="stylesheet" type="text/css" href="css/base_1.css" />
<title>用户登录</title>

<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<style type="text/css">
<!--

-->
</style>
</head>
<body >
	<div id="u">
        <a class="logo" href="">
    		<img src="images/LogoMaker_1.jpg" height="35" />
   		 </a>
    </div>
    <p id="lm"></p>
	<s:actionerror />
    <div id ="m">
    <div class="input_form">
    	<s:form action="login" method="post" namespace="/user" theme="simple">
        	<div id="title">用户登录</div>
        	<table width="100%" border="0" cellpadding="4" align="center" >
            <td width="50%">
        	<table width="100%" border="0" cellpadding="4" align="center" >
            	<tr >
		  			<td width="30%" rowspan="2" nowrap="nowrap" class="kw" style="text-align: left">		    
                    	<label for="username"><strong>用户名:</strong></label>	        
                    </td>
		  			<td width="70%"colspan="2" class="TitleColor">
		    			<s:textfield name="username" size="20" />
						<s:fielderror><s:param>username.error</s:param></s:fielderror>					
                    </td>
				</tr>  
            </table>
            <table width="100%" border="0" cellpadding="4" align="center" >
            	<tr>
		  			<td width="30%" rowspan="2" nowrap="nowrap" class="kw" style="text-align: left">		    
                    	<label for="username"><strong>密码:</strong></label>	        
                    </td>
		  			<td width="70%"colspan="2" class="TitleColor">
		    			<s:password name="password" size="20" />	
                    </td>
				</tr>  
            </table>
            
            <table width="100%" border="0">
             <tr style="vertical-align: top" text-align: middle class="FooterColor" >
		  		<td align="left" >
                	<input name="cookie" type="checkbox" value="" /><label for="cookie"><span class="STYLE2">记住我的登录状态̬</span></label>
               	  <input id= "submit" name="submit" type="submit"  value="登录"/>
                  <a href="user/forgetpass.jsp" target="_self">忘记密码？</a>
				  <p>没有账号<a href="user/registerPage.action">注册</a></p>
              </td>
			</tr>
            </table></td>
            <td width="50%">
            	<p>安全提醒:			  </p>
              	<p>1.在公共场所，不要保存密码在本地。</p>
              	<p>2.对于不同的网络系统使用不同的密码，设置安全系数高的密码。  </p>
            </td>
            </table>
    	</s:form>
    	</div>
        <p id="lm"></p>
	 <div>
    	<p id="cp">
    		@2011 G Search 
       	 	<a href="">使用前必读</a>
        	<a href="" target="_blank">京ICP证030173号</a>
    	</p>
    </div>
    </div>
    
</body>
</html>
